<@master template="master/master-loan"  title="查询不良放款计划">
<div class="detailsBox">
	<div class="openBox">
		<h3>
			<i class="jtIco"></i>银行放款数据
		</h3>
		<div class="detaiTab">
			<table align="center" width="60%" cellspacing="0" cellpadding="0" border="0">
					<tbody>
						<tr>
							<td width="15%" align="right" class="bg">贷款申请单号:</td>
							<td>${voo.billCode}</td>
							<td width="15%" align="right" class="bg">借款证件号码:</td>
							<td>${voo.loanerCard}</td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">借款姓名:</td>
							<td>${voo.loanerName}</td>
							<td width="15%" align="right" class="bg">放款银行:</td>
							<td><@select dataSouceType="BANKTYPEO2O" name="loanBankCode" value="${voo.loanBank}"  renderonly="true"/></td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">贷款申请金额:</td>
							<td><@numberFormat value="${voo.applyAmount}"/></td>
							<td width="15%" align="right" class="bg">放款利率:</td>
							<td><#if voo.loanRate??>${voo.loanRate*100}%<#else>0%</#if></td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">银行批复金额:</td>
							<td><@numberFormat value="${voo.loanAmount}"/></td>
							<td width="15%" align="right" class="bg">放款期限:</td>
							<td>${voo.loanTerm}个月</td>
						</tr>
						<tr>
							<td width="15%" align="right" class="bg">实际放款日:</td>
							<td colspan="3">${voo.loanDate}</td>
						</tr>	
					</tbody>
			</table>
		</div>
 </div>
 
 <div class="openBox action-ajax-load" data-url="<@url value='/rbadloan/find_loaninfo?billCode=${voo.billCode}&upLoandFile=up'/>" id="file_uploader">  
	</div>
 
	<div class="openBox">
		<h3>
			<i class="jtIco"></i>还款计划列表
		</h3>
		<div class="detaiTab">
			<div  class="dataBable ">
				<@pagination paginationInfo="paginationInfo"/>
				<table class="b_t_e5 mtb20" width="100%" cellspacing="0" cellpadding="0" border="0">
					<tbody>
						<tr>
							<td width="15%" align="right" class="bg">选择文件</td>
							<td><span id="ttt">
						 		<@permission permissionName="repaymentImport">
									<@fileUpload url="/rbadloan/uploadBankExcel?billCode=${voo.billCode?url}&mainId=${voo.bankLoanId?url}" title="导入..."  />
								</@permission>
								</span>
								<div><font color="red"><div id="errorMessage1"></div></font></div>
							</td>
						<tr>
						<tr>
							<td align="right" class="bg"></td>
							<td><a href="/rbadloan/download" >（下载导入模板）</a><font class="red ml10"> ${errorMessage}</font></td>
						<tr>
					</tbody>
				</table>
			</div>
		</div>
	</div>		
	
	<div class="openBox mt20">
		<h3>
			<i class="jtIco"></i>借款人还款记录
		</h3>	
		<div class="detaiTab">
			<div  class="dataBable "><@pagination paginationInfo="o2oPagingInfo"/></div>	
		</div>	
	</div>	
</div>


</@master>
